import request from '@/utils/request'

// 添加全球
export function addAnalyse(data) {
    return request({
        url: '/system/analyse',
        method: 'POST',
        data: data
    })
}
//删除
export function deleteAnalyse(id) {
    return request({
        url: '/system/analyse/' + id,
        method: 'DELETE',

    })
}
//获取列表
export function getAnalyseList() {
    return request({
        url: '/system/analyse/list',
        method: 'GET',
    })
}
//执行

export function getAnalyseExec(data) {
    return request({
        url: '/system/analyse/exec',
        method: 'GET',
        params: data
    })
}
//查看

export function getAnalyseCatLog(data) {
    return request({
        url: '/system/analyse/catLog',
        method: 'GET',
        params: data
    })
}
//删除log文件
export function delAnalyseLog(data) {
    return request({
        url: '/system/analyse/deleteLog',
        method: 'GET',
        params: data
    })
}
//刷新

export function getAnalyseRefresh(data) {
    return request({
        url: '/system/analyse/refresh',
        method: 'GET',
        params: data
    })
}

//查看usb列表
export function getAnalyseLsUsb() {
    return request({
        url: '/system/analyse/lsUsb',
        method: 'GET',
        
    })
}